package com.clare.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.clare.common.utils.PageUtils;
import com.clare.gulimall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author clare
 * @email cw_3358@163.com
 * @date 2020-11-09 23:34:12
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    /**
     * 根据catIds删除分类（逻辑删除）
     * @param catIds
     */
    void removeMenuByIds(List<Long> catIds);
}

